﻿<%@ page language="java" pageEncoding="UTF-8"%>
<%@ page import="java.util.*"%> 
<%@ page isELIgnored="false"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="c"  uri="/c.tld" %>
<%@ taglib prefix="fmt"  uri="/fmt.tld" %>
<%@ taglib prefix="fn" uri="/fn.tld" %> 
<%@ page import="com.stone.para.IConstant"%>
<%
	String contextPath = request.getContextPath();
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>

	
	<title>My JSF 'printworkcard.jsp' starting page</title>
	
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<script type="text/javascript" src="<%=contextPath%>/js/validator.js"></script> 
	<script type="text/javascript" src="<%=contextPath%>/ext3/adapter/ext/ext-base.js"></script>
	<script type="text/javascript" src="<%=contextPath%>/ext3/ext-all.js"></script>		
	<script type="text/javascript" src="<%=contextPath%>/js/My97DatePicker/WdatePicker.js"></script>
	<link rel="stylesheet" type="text/css"	href="<%=contextPath%>/ext3/resources/css/ext-all.css">
		
	
<style type="text/css">
.table_print{	
	border:1px solid #000000;
	border-collapse:collapse;
}
.table_print td{
	border:1px solid #000000;
	border-collapse:collapse;
	empty-cells:show;
	line-height:24px;	
	padding-left:6px;
} 
.table_transient{
	border:0px solid;
}
.table_transient td{
	border:0px solid;
}
</style>
    <style media="print">.Noprint { DISPLAY: none }</style>
<script type="text/javascript" language="javascript">  
			
			Ext.onReady(function(){
				var tb = new Ext.Toolbar({
			   		renderTo: document.all.tbar,
			    	items: [
				        {
				            text: '打印预览',
				            icon:"/DLPLANMIS/images/PrintPreview.gif",
				            handler:function() {
				            	document.getElementById("tbar").style.display ="none";// = "display:none";
				            	webbrowser.ExecWB(7,1);
				            	document.getElementById("tbar").style.display ="";// = "display:none";
				            }
				        }/*,'-',
				        {
				            text: '关闭',
				            icon:"/DLPLANMIS/images/banjie.png",
				            handler:function(){
				            	window.close();
				            }
				        }*/
			    	]
			    });
			});
 
		 </script>  
</head>
 
<body>
<div id = "tbar" class="Noprint" style="position:absolute;display:block left:0px; top:0px; width:100%; height:25px; z-index:1;"></div>	
<table border="0" width="100%">
<tr>
<td align="right">编号：</td>
<td width="150px">&nbsp;${entity.serial_number}&nbsp;</td>
</tr>
</table>
<p align="center"><span  style="font: 22pt/22pt 宋体;"><strong>工序质量控制卡</strong></span></p>
<table border="0" width="100%">
<tr>
<td></td>
<td align="right" width="100px"></td>
<td width="150px">

</td>
<td align="right" width="100px"></td>
<td nowrap>
编写：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 100px; text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_bxr}&nbsp;
				</span>
审批：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 100px; text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_spr}&nbsp;
				</span>
</td>
</tr>
</table>

<table  style="border-bottom: medium none; border-left: medium none; margin: auto auto auto 0.15pt; border-collapse: collapse; border-top: medium none; border-right: medium none" border="0" cellspacing="0" cellpadding="0" width="100%" bordercolor="#000000">
<tr>
<td height="35" align="center">
作业名称：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 575px; text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_zymc}&nbsp;
				</span>
</td>
</tr>
<tr>
<td  height="35" align="center">
工作票号：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 200px; text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_gzph}&nbsp;
				</span>
二次工作安全措施票号：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 200px;text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_ecgzaqcsph}&nbsp;
				</span>				
</td>
</tr>
<tr>
<td  height="35" align="center">
工作负责人：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 100px; text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_gzfzr}&nbsp;
				</span>
工作班组：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 378px; text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_gzbz}&nbsp;
				</span>				
			
</td>
</tr>
<tr>
<td  height="35" align="center">
工作成员：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 575px;text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.oc_cy}&nbsp;
				</span>	
</td>
</tr>
<tr>
<td  nowrap="nowrap"  height="35" align="center">				
计划工作时间：<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 265px;text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.dt_jhgzsjq}&nbsp;
				</span>至
<span style="BORDER-BOTTOM: #000000 1px solid; display: inline-block; width: 265px;text-align: left;font-family: 宋体; font-size: 12pt">
					&nbsp;${entity.dt_jhgzsjz}&nbsp;
				</span>									
</td>
</tr>
<tr>
<td>
<table width="100%" class="table_print" cellpadding="0" cellspacing="0">
<tr>
<td align="center"><span style="font-family: &quot;宋体&quot;; font-size: 12pt">序号</span></td>
<td align="center"><span style="font-family: &quot;宋体&quot;; font-size: 12pt">工序</span></td>
<td align="center"><span style="font-family: &quot;宋体&quot;; font-size: 12pt">工艺标准及要求</span></td>
<td align="center"><span style="font-family: &quot;宋体&quot;; font-size: 12pt">风险提醒（必要时）</span></td>
<td align="center"><span style="font-family: &quot;宋体&quot;; font-size: 12pt">结果</span></td>
<td align="center"><span style="font-family: &quot;宋体&quot;; font-size: 12pt">工作人员签字</span></td>
</tr>
<c:forEach items="${gxzlkzkBZList}" var="gxzlkzk" varStatus="tatus" >
<tr id = "tr${tatus.index}" class = "repeat">
<td><label>${gxzlkzk.sortId}</label></td>
<td width="20%"><label>${gxzlkzk.oc_gx}</label></td>			
<td width="20%"><label>${gxzlkzk.oc_gybzjyq}</label></td>
<td width="20%"><label>${gxzlkzk.oc_fxtx}</label></td>
<td width="15%"><label>${gxzlkzk.oc_result}</label></td>
<td width="15%"><label>${gxzlkzk.oc_gzry}</label></td>
</tr>
</c:forEach>
<tr>
<td colspan="6">
<table width="100%" border="0" class="table_transient">
<tr><td>安装评价：${oc_azpj}</td></tr>
<tr><td>工作（小组）负责人签字:</td></tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>		
</body>
<object id="webbrowser" classid="CLSID:8856F961-340A-11D0-A96B-00C04FD705A2" height="0"  width="0"></object>

</html>